home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / etc_-_Configuration_Files / PROFILE < prev    next >
Text File  |  1999-09-17  |  3KB  |  123 lines

  1. # /etc/profile: This file contains system-wide defaults used by
  2. # all Bourne (and related) shells.
  3.  
  4. # Set the values for some environment variables:
  5. export MINICOM="-c on"
  6. export MANPATH=/usr/local/man:/usr/man/preformat:/usr/man:/usr/X11R6/man
  7. export HOSTNAME="`cat /etc/HOSTNAME`"
  8. export LESSOPEN="|lesspipe.sh %s"
  9. export LESS="-M"
  10. export LC_CTYPE=iso-8859-1
  11.  
  12. # Set default backspace character
  13. stty erase 
  14.  
  15. # Set the default system $PATH:
  16. PATH="$PATH:/usr/X11R6/bin:$OPENWINHOME/bin:/usr/games"
  17.  
  18. # For non-root users, add the current directory to the search path:
  19. if [ ! $UID = 0 ]; then
  20.  PATH="$PATH:."
  21. fi
  22.  
  23. # I had problems using 'eval tset' instead of 'TERM=', but you might want to 
  24. # try it anyway. I think with the right /etc/termcap it would work great.
  25. # eval `tset -sQ "$TERM"`
  26. if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
  27.  TERM=linux
  28. fi
  29.  
  30. # Set a default shell prompt:
  31. #PS1='`hostname`:`pwd`# '
  32. if [ "$SHELL" = "/bin/pdksh" -o "$SHELL" = "/bin/ksh" ]; then
  33.  PS1="! $ "
  34. elif [ "$SHELL" = "/bin/zsh" ]; then
  35.  PS1="%m:%~%# "
  36. elif [ "$SHELL" = "/bin/ash" ]; then
  37.  PS1="$ "
  38. else
  39.  PS1='\h:\w\$ '
  40. fi
  41. PS2='> '
  42. ignoreeof=10
  43.  
  44. # Default umask.  A umask of 022 prevents new files from being created group
  45. # and world writable.
  46. umask 022
  47.  
  48. # Set up the LS_COLORS and LS_OPTIONS environment variables for color ls:
  49. if [ "$SHELL" = "/bin/zsh" ]; then
  50.  eval `dircolors -z`
  51. elif [ "$SHELL" = "/bin/ash" ]; then
  52.  eval `dircolors -s`
  53. else
  54.  eval `dircolors -b`
  55. fi
  56.  
  57. #
  58. # For security reasons always asks the user if one file is to be overwritten
  59. #
  60. alias cp='cp -i'
  61. alias rm='rm -i'
  62. alias mv='mv -i'
  63.  
  64. #
  65. # Configuration for Netscape Communicator begins
  66. #
  67. export MOZILLA_HOME=/usr/local/netscape
  68. PATH=$PATH:/usr/local/netscape/bin
  69. #
  70. # Configuration for Netscape Communicator ends
  71. #
  72.  
  73.  
  74. #
  75. # Configuration for Qt (needed by KDE) begins here
  76. #
  77. QTDIR=/usr/local/qt
  78. PATH=$PATH:$QTDIR/bin
  79. MANPATH=$MANPATH:$QTDIR/man
  80. if [ $CPLUS_INCLUDE_PATH ]
  81. then 
  82.     CPLUS_INCLUDE_PATH=$QTDIR/include:$CPLUS_INCLUDE_PATH
  83. else
  84.     CPLUS_INCLUDE_PATH=$QTDIR/include
  85. fi
  86. export QTDIR CPLUS_INCLUDE_PATH
  87. #
  88. # Configuration for Qt ends here
  89. #
  90.  
  91. #
  92. # Configuration for KDE begins
  93. #
  94. PATH=$PATH:/usr/local/kde/bin
  95. #
  96. # Configuration for KDE ends
  97. #
  98.  
  99. #
  100. # Configuration for GIMP begins
  101. #
  102. MANPATH=$MANPATH:/usr/local/gimp/man
  103. #
  104. # Configuration for GIMP ends
  105. #
  106.  
  107. export PATH DISPLAY LESS TERM PS1 PS2 ignoreeof MANPATH
  108.  
  109. #
  110. # Configuration for GCC/CC/LD
  111. #
  112. # Since WinLinux use some libraries in non standard places programmers will
  113. # find this usefull
  114. #
  115. export LDFLAGS="-L/usr/local/lib -L/usr/local/libtiff/lib -L/usr/local/zlib/lib -L/usr/local/libpng/lib -L/usr/local/libmpeg/lib -L/usr/local/libjpeg/lib -L/usr/local/aalib/lib"
  116. export CFLAGS="-I/usr/local/libtiff/include -I/usr/local/zlib/include -I/usr/local/libpng/include -I/usr/local/libmpeg/include -I/usr/local/libjpeg/include -I/usr/local/aalib/include"
  117. export CPPFLAGS="-I/usr/local/libtiff/include -I/usr/local/zlib/include -I/usr/local/libpng/include -I/usr/local/libmpeg/include -I/usr/local/libjpeg/include -I/usr/local/aalib/include"
  118. #
  119. # Configuration for GCC/CC/LD ends
  120. #
  121.  
  122.  
  123.